package com.java.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.java.entity.Category;
import com.java.entity.Table;

import java.util.List;
import java.util.Map;


/**
 * 菜单类别Mapper接口
 * @author 
 * @site 
 
 * @create 2021-11-23 8:53
 */
public interface CategoryMapper extends BaseMapper<Category> {


    List<Table> list(Map<String, Object> map);

    Long getTotal(Map<String, Object> map);

    Category findById(Integer id);
}
